package main

import (
	"fmt"
	"math"
)

//生命别名
type (
	ByteSize int64
)

//声明多个变量
var(
	aaa = "hello"
)

func test(arg1, arg2 int){
	t := 1
	b := float64(t)


	var a int = 1
	b := 2
	for i:= 1; i<10;i++  {
		if a>3 {
			fmt.Println()
		}
		fmt.Println(b)
		/**
		c,d不能被循环体的外部结构调用
		 */
		//var c float32 = 1.8
		//d := true
	}
	fmt.Println(math.MaxFloat32)
	fmt.Println(aaa)
}

func main(){
	var a ByteSize
	fmt.Println(a)
	fmt.Println(math.MinInt8)

	var b int = 1
	fmt.Println(b)

	c := 1.5
	fmt.Println(c)

	test(2,5)

	fmt.Println(aaa)

	var x,y,z int = 5,6,7
	t,q,v := 8,9,0
	fmt.Println(x,y,z,t,q,v)
}